package com.sakuraio.nextj.core.protocol;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author nekoimi 2024/7/16 14:59
 * <p>
 * 带有简介描述的值对象
 */
@Data
@NoArgsConstructor
@AllArgsConstructor(staticName = "of")
public class DescValue<T> {
    // 值
    private T value;

    // 值简介
    private String desc;
}
